Eclipse Platform
Pre-release 3.0

org.eclipse.ui.application
Interface IWorkbenchPreferences


public interface IWorkbenchPreferences

Defines names of workbench preferences that are available for the application to configure. These preferences are not intended to be used by other plug-ins.

This interface is not intended to be implemented by clients.

Since:
3.0

Field Summary
static String SHOULD_CLOSE_EDITORS_ON_EXIT
          Workbench preference id for whether the workbench should attempt to close all open editors when the workbench closes.
static String SHOULD_SAVE_WORKBENCH_STATE
          Workbench preference id for whether the workbench should save the state of the workbench when it closes, and restore that state when it next re-opens.
static String SHOULD_SHOW_MENU_BAR
          Workbench preference id for whether workbench windows should have a menu bar by default.
static String SHOULD_SHOW_SHORTCUT_BAR
          Workbench preference id for whether workbench windows should have a shortcut bar by default.
static String SHOULD_SHOW_STATUS_LINE
          Workbench preference id for whether workbench windows should have a status line by default.
static String SHOULD_SHOW_TITLE_BAR
          Workbench preference id for whether workbench windows should have a window title by default.
static String SHOULD_SHOW_TOOL_BAR
          Workbench preference id for whether workbench windows should have a tool bar by default.
 

Field Detail

SHOULD_SHOW_TITLE_BAR

public static final String SHOULD_SHOW_TITLE_BAR
Workbench preference id for whether workbench windows should have a window title by default. Boolean-valued: true if workbench windows should have a window title by default, and false if they should not have a window title by default.

The default value for this preference is: true (has window title)

See Also:
Constant Field Values

SHOULD_SHOW_MENU_BAR

public static final String SHOULD_SHOW_MENU_BAR
Workbench preference id for whether workbench windows should have a menu bar by default. Boolean-valued: true if workbench windows should have a menu bar by default, and false if they should not have a menu bar by default.

The default value for this preference is: true (has menu bar)

See Also:
Constant Field Values

SHOULD_SHOW_TOOL_BAR

public static final String SHOULD_SHOW_TOOL_BAR
Workbench preference id for whether workbench windows should have a tool bar by default. Boolean-valued: true if workbench windows should have a tool bar by default, and false if they should not have a tool bar by default.

The default value for this preference is: true (has tool bar)

See Also:
Constant Field Values

SHOULD_SHOW_SHORTCUT_BAR

public static final String SHOULD_SHOW_SHORTCUT_BAR
Workbench preference id for whether workbench windows should have a shortcut bar by default. Boolean-valued: true if workbench windows should have a shortcut bar by default, and false if they should not have a shortcut bar by default.

The default value for this preference is: true (has shortcut bar)

See Also:
Constant Field Values

SHOULD_SHOW_STATUS_LINE

public static final String SHOULD_SHOW_STATUS_LINE
Workbench preference id for whether workbench windows should have a status line by default. Boolean-valued: true if workbench windows should have a status line by default, and false if they should not have a status line by default.

The default value for this preference is: true (has status line)

See Also:
Constant Field Values

SHOULD_CLOSE_EDITORS_ON_EXIT

public static final String SHOULD_CLOSE_EDITORS_ON_EXIT
Workbench preference id for whether the workbench should attempt to close all open editors when the workbench closes. Boolean-valued: true if editors should be closed, and false if editors should simply be discarded

The default value for this preference is: false (discard editors)

See Also:
Constant Field Values

SHOULD_SAVE_WORKBENCH_STATE

public static final String SHOULD_SAVE_WORKBENCH_STATE
Workbench preference id for whether the workbench should save the state of the workbench when it closes, and restore that state when it next re-opens. Boolean-valued: true if workbench state should be saved and restored, and false if workbench state should simply be discarded on exit, and recreated from scratch on reopen.

The default value for this preference is: false (discard workbench state)

See Also:
Constant Field Values

Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.